﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

interface IBirth
{
    void Birth();
}


interface IDeath:IBirth
{
    void Death();
}

interface IWalk:IDeath
{
    void Walk();
}

interface ITalk:IWalk
{
    void Talk();
}

interface IFly
{
    void Fly();
}


public class Human:ITalk
{
    public void Birth()
    {
        Console.WriteLine("Human birth");
    }
    public void Death()
    {
        Console.WriteLine("Human death");
    }
    public void Talk()
    {
        Console.WriteLine("Human talk");
    }
    public void Walk()
    {
        Console.WriteLine("Human walk");
    }
}
public class Dog : IWalk
{
    public void Birth()
    {
        Console.WriteLine("Dog birth");
    }
    public void Death()
    {
        Console.WriteLine("Dog death");
    }
    public void Walk()
    {
        Console.WriteLine("Dog walk");
    }
}
public class Parrot : ITalk, IFly
{
    public void Birth()
    {
        Console.WriteLine("Parrot birth");
    }
    public void Death()
    {
        Console.WriteLine("Parrot death");
    }
    public void Talk()
    {
        Console.WriteLine("Parrot talk");
    }
    public void Walk()
    {
        Console.WriteLine("Parrot walk");
    }
    public void Fly()
    {
        Console.WriteLine("Parrot fly");
    }
}